package com.example.demo.blog.dto.req;

import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 博文
 *
 * @author Airhead
 */
@Data
public class BlogReq {
  private Long id;

  @ApiModelProperty(value = "标题")
  private String title;

  @ApiModelProperty(value = "内容")
  private String content;

  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createAt;

  public interface Add {}

  public interface Update {}
}
